import reuquest from '@/utils/request.js'

// 服务商数量
export const userAgentCountApi = (data = {}, options = { loading: false }) => {
	return reuquest.get('/apiapp/v1/agent/count', data, options)
}

// 服务商列表
export const userAgentListApi = (data = {}, options = { loading: true }) => {
	return reuquest.get('/apiapp/v1/agent/list', data, options)
}

// 服务商详情
export const userAgentDetailsApi = (gid, data = {}, options = { loading: false }) => {
	return reuquest.get(`/apiapp/v1/agent/details?gid=${gid}`, data, options)
}
